package com.hqyj.dao;

import com.hqyj.pojo.Room;

import java.util.List;

public interface RoomMapper {
    int deleteByPrimaryKey(Long rId);

    //增加教室信息
    int insert(Room record);

    int insertSelective(Room record);

    //通过Id查询教室信息
    Room selectByPrimaryKey(Long rId);

    int updateByPrimaryKeySelective(Room record);

    int updateByPrimaryKey(Room record);

    //查询所有教师信息
    List<Room> selectAllRoom();

    int  deleteLogic(Long id);
}